package AdapterPattern.example1;

public class Book {
    private String name;

    public Book(String name) {
        this.name = name;
    }

    public void showWithParen(){
        System.out.println("(" + this.name + ")");
    }

    public void showWithAster(){
        System.out.println("*" + this.name + "*");
    }
}
